package com.ls.markt.dao.admin;

import com.ls.markt.model.admin.Club;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface ClubMapper {

//    List<Club> findAllBySeason(@Param("season")String season);

//    List<Club> findAll();

//    void save(@Param("club")Club club);

//    void update(@Param("club")Club club);

//    Club findById(@Param("id") Long id);

//    void deleteById(@Param("id") Long id);

    String getNameById(@Param("id") Long id);

    Long getIdByName(@Param("name") String name);

    int getClubNumberByLevel(@Param("level") Long level);

    void insertBatch(List<Club> clubs);
}
